package 多线程.多线程;

public class Main {
    public static void main(String[] args) {
        RunnableThread rt = new RunnableThread();//线程的任务对象
        //使用线程任务对象，创建线程对象
        Thread thread = new Thread(rt);
        thread.start();
        System.out.println("主线程的方法");
    }
}
